const mongoose = require('./db');
const Schema = mongoose.Schema;
const UserSchema =  new Schema({
    username:{type:String,unique:true},
    password:String,
    name:String,
    age:Number,
    sex:String,
    tel:Number,
    status:{
        type:Number,
        status:1
    }
})
module.exports = mongoose.model('User',UserSchema,'user');